Skip to content

Support gradient checkpointing in forward_intermediates() #2501

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jun 21, 2025

Conversation

brianhou0208
Copy link
Contributor

@brianhou0208 brianhou0208 commented May 28, 2025

Summary:

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@brianhou0208 brianhou0208 marked this pull request as ready for review June 13, 2025 04:51
@rwightman rwightman merged commit 8bdeeea into huggingface:main Jun 21, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Gradient checkpointing in forward_intermediates()
3 participants